package com.gome.oa.custom.render;

import java.awt.Component;

import javax.swing.JComboBox;
import javax.swing.JTable;
import javax.swing.table.DefaultTableCellRenderer;
import javax.swing.table.TableCellRenderer;

/**
*
* @author: tang li
* @date: 2016年8月20日
* @desc: 
*
*/
public class ComBoxCellRenderer extends DefaultTableCellRenderer implements
		TableCellRenderer {

	private static final long serialVersionUID = 3317014653769738202L;

	public Component getTableCellRendererComponent(JTable jtable, Object value,
			boolean isSelected, boolean hasFocus, int row, int column) {

		JComboBox<?> combo = (JComboBox<?>) value;

		return combo;
	}

}
